<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Whisper: IPrng Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Whisper
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="#pri-static-attribs">Static Private Attributes</a>  </div>
  <div class="headertitle">
<div class="title">IPrng Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="IPrng" -->
<p><code>#include &lt;<a class="el" href="prng_8h_source.html">prng.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for IPrng:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classIPrng.png" usemap="#IPrng_map" alt=""/>
  <map id="IPrng_map" name="IPrng_map">
<area href="classCLcg.html" alt="CLcg" shape="rect" coords="0,56,42,80"/>
</map>
 </div></div>

<p><a href="classIPrng-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIPrng.html#acb061e57ed4545076593b39fa8de21ea">IPrng</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIPrng.html#a57a6aefc16473c4ee528970a40f091f9">~IPrng</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual int16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIPrng.html#add8903347745c2743d4fc0f35976e848">getRand</a> ()</td></tr>
<tr><td colspan="2"><h2><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static int16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIPrng.html#a2f17b682a403be86a42b5cd443692486">ggt</a> (int16_t pVal1, int16_t pVal2)</td></tr>
<tr><td colspan="2"><h2><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIPrng.html#a55421680c6ee7acbee1c985d52b1d423">mSeed</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIPrng.html#af6eb18c3792432a8f90040d9c44ad038">mMultiplier</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIPrng.html#a1f48722ff7b20ff4138a86914ee15787">mIncrement</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIPrng.html#a22d33dc8259f76b5788545bdd85985e9">mModulo</a></td></tr>
<tr><td colspan="2"><h2><a name="pri-static-attribs"></a>
Static Private Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static const int16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIPrng.html#a410f565ae23576124cde8732a4095fbe">sDefaultSeed</a> = 1</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static const int16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIPrng.html#a3324e6293815cc30f422d71e90dfefe8">sDefaultMultiplier</a> = 7</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static const int16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIPrng.html#afee971a69deef2efdac6174407749104">sDefaultIncrement</a> = 5</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static const int16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIPrng.html#a42786cf080952d0596dff3326456bbad">sDefaultModulo</a> = 29</td></tr>
</table>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="acb061e57ed4545076593b39fa8de21ea"></a><!-- doxytag: member="IPrng::IPrng" ref="acb061e57ed4545076593b39fa8de21ea" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">IPrng::IPrng </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a57a6aefc16473c4ee528970a40f091f9"></a><!-- doxytag: member="IPrng::~IPrng" ref="a57a6aefc16473c4ee528970a40f091f9" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual IPrng::~IPrng </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="add8903347745c2743d4fc0f35976e848"></a><!-- doxytag: member="IPrng::getRand" ref="add8903347745c2743d4fc0f35976e848" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int16_t IPrng::getRand </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>calculates random number </p>

<p>Reimplemented in <a class="el" href="classCLcg.html#a3d0d9cba0dcd6692337cf30139729298">CLcg</a>.</p>

</div>
</div>
<a class="anchor" id="a2f17b682a403be86a42b5cd443692486"></a><!-- doxytag: member="IPrng::ggt" ref="a2f17b682a403be86a42b5cd443692486" args="(int16_t pVal1, int16_t pVal2)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int16_t IPrng::ggt </td>
          <td>(</td>
          <td class="paramtype">int16_t&#160;</td>
          <td class="paramname"><em>pVal1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int16_t&#160;</td>
          <td class="paramname"><em>pVal2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>calculates greatest common divisor between two values </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">pVal1</td><td></td></tr>
    <tr><td class="paramname">pVal2</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a1f48722ff7b20ff4138a86914ee15787"></a><!-- doxytag: member="IPrng::mIncrement" ref="a1f48722ff7b20ff4138a86914ee15787" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int16_t <a class="el" href="classIPrng.html#a1f48722ff7b20ff4138a86914ee15787">IPrng::mIncrement</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Reimplemented in <a class="el" href="classCLcg.html#a70208e9539b5142a639b8ad21290a08f">CLcg</a>.</p>

</div>
</div>
<a class="anchor" id="a22d33dc8259f76b5788545bdd85985e9"></a><!-- doxytag: member="IPrng::mModulo" ref="a22d33dc8259f76b5788545bdd85985e9" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int16_t <a class="el" href="classIPrng.html#a22d33dc8259f76b5788545bdd85985e9">IPrng::mModulo</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Reimplemented in <a class="el" href="classCLcg.html#a412334c16d603d4473b448e7aa784a5d">CLcg</a>.</p>

</div>
</div>
<a class="anchor" id="af6eb18c3792432a8f90040d9c44ad038"></a><!-- doxytag: member="IPrng::mMultiplier" ref="af6eb18c3792432a8f90040d9c44ad038" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int16_t <a class="el" href="classIPrng.html#af6eb18c3792432a8f90040d9c44ad038">IPrng::mMultiplier</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Reimplemented in <a class="el" href="classCLcg.html#aee4868aca2b5d4da589fe1f179507db4">CLcg</a>.</p>

</div>
</div>
<a class="anchor" id="a55421680c6ee7acbee1c985d52b1d423"></a><!-- doxytag: member="IPrng::mSeed" ref="a55421680c6ee7acbee1c985d52b1d423" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int16_t <a class="el" href="classIPrng.html#a55421680c6ee7acbee1c985d52b1d423">IPrng::mSeed</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Reimplemented in <a class="el" href="classCLcg.html#aba57a019826333dea2bb61f4034fe746">CLcg</a>.</p>

</div>
</div>
<a class="anchor" id="afee971a69deef2efdac6174407749104"></a><!-- doxytag: member="IPrng::sDefaultIncrement" ref="afee971a69deef2efdac6174407749104" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const int16_t <a class="el" href="classIPrng.html#afee971a69deef2efdac6174407749104">IPrng::sDefaultIncrement</a> = 5<code> [static, private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Reimplemented in <a class="el" href="classCLcg.html#a34b5e51f4cf1d76ceeeda64e50e88771">CLcg</a>.</p>

</div>
</div>
<a class="anchor" id="a42786cf080952d0596dff3326456bbad"></a><!-- doxytag: member="IPrng::sDefaultModulo" ref="a42786cf080952d0596dff3326456bbad" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const int16_t <a class="el" href="classIPrng.html#a42786cf080952d0596dff3326456bbad">IPrng::sDefaultModulo</a> = 29<code> [static, private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Reimplemented in <a class="el" href="classCLcg.html#a01310d87d833f60de8ffacf3db3bc881">CLcg</a>.</p>

</div>
</div>
<a class="anchor" id="a3324e6293815cc30f422d71e90dfefe8"></a><!-- doxytag: member="IPrng::sDefaultMultiplier" ref="a3324e6293815cc30f422d71e90dfefe8" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const int16_t <a class="el" href="classIPrng.html#a3324e6293815cc30f422d71e90dfefe8">IPrng::sDefaultMultiplier</a> = 7<code> [static, private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Reimplemented in <a class="el" href="classCLcg.html#aa4cb90fe9885e941136e5512fa8848b3">CLcg</a>.</p>

</div>
</div>
<a class="anchor" id="a410f565ae23576124cde8732a4095fbe"></a><!-- doxytag: member="IPrng::sDefaultSeed" ref="a410f565ae23576124cde8732a4095fbe" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const int16_t <a class="el" href="classIPrng.html#a410f565ae23576124cde8732a4095fbe">IPrng::sDefaultSeed</a> = 1<code> [static, private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Reimplemented in <a class="el" href="classCLcg.html#a42af412cadd2742304b96f3d6bbd0500">CLcg</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="prng_8h_source.html">prng.h</a></li>
<li><a class="el" href="prng_8cxx.html">prng.cxx</a></li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Wed Jan 25 2012 22:00:47 for Whisper by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.5.1
</small></address>

</body>
</html>
